package com.wigo.controller;

import com.wigo.service.MemberService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
public class MemberController {

    @Autowired
    MemberService memberService;

    @RequestMapping("/getMember")
    public String getMember(){
        return "调用会员服务获取会员信息:" + memberService.getMember();
    }
}
